home *** CD-ROM | disk | FTP | other *** search
/ Magnum One / Magnum One (Mid-American Digital) (Disc Manufacturing).iso / d19 / nmail11.arc / NEWMAIL.DOC < prev    next >
Text File  |  1991-07-04  |  3KB  |  59 lines

  1.  
  2.                        NewMail (c) 1991 DataBOARD-][
  3.                      Phil and Dave's  DataBOARD-][ BBS 
  4.                            (616) 243-8663 v.32
  5.                       (616) 243-8960 USRobotics Dual
  6.                              PO Box 230095
  7.                         Grand Rapids, Mich  49523
  8.  
  9.  
  10.        One of the problems we had trying to run FidoNet "Continuous Mail"
  11.   was, after every call we would run InterPCB(c) and QMail(c).  A lot of
  12.   times this wasn't neeeded since there was no new Echomail. Also, since
  13.   we only run Binkley(c) on our node 2 we had no way of telling  if  new
  14.   mail had been entered on our Node 1. The purpose of NewMail is to look
  15.   into your PCBoard (c)  caller log  and determine if  there is  any new 
  16.   mail that needs to be sent out.
  17.  
  18.        NetMail looks for a message that begin with  " Message Entered: "
  19.   in the caller log.  If you've modifed your PCBTEXT NewMail  won't find
  20.   new mail. NewMail keeps track of the number of lines in the Caller log
  21.   in a file called  "HIGHMARK.DAT".  The  file is created in the default
  22.   directory that NewMail was run from. If you delete your caller log the
  23.   "HIGHMARK.DAT" file will  miss the next new message,  but will be okay
  24.   after the next caller. 
  25.  
  26.       NewMail  is meant to be run from a batch file.  NewMail returns an
  27.   returns an  errorlevel 3 if there is new echomail.  We have included a
  28.   sample  batch  file for you to incorporate into  your own batch files.
  29.   Here's an example of how we do it:
  30.  
  31.       :NewMail
  32.         NewMail C:\Logs\Node2 Local Sysop 
  33.         If ErrorLevel 3 goto Mail
  34.       Goto Begin
  35.       :Mail
  36.         Busy /D/2/Processing Mail/OUT_Bound
  37.         CD \Bink
  38.         IP /i /e /max:150 /s /pvt /w /f:C:\MSG\Local /p:C:\PCB\MSGS\Local
  39.         IP /i /e /max:150 /s /pvt /w /f:C:\Msg\Sysop /p:C:\PCB\MSG\Sysop
  40.         QM  Scan Pack -q
  41.         If Exist C:\Msg\Local\*.Msg   Del C:\Msg\Local\*.Msg
  42.         If Exist C:\Msg\Sysop\*.Msg   Del C:\Msg\Sysop\*.Msg
  43.       Goto Begin        
  44.  
  45.  
  46.        This program has no warranty or guarantee.  This program is free
  47.   software.  This program MAY NOT be commercially reproduced or sold by
  48.   anyone.  Including part of a software library  in which the user pays
  49.   for the cost of the disk.   The author  reserves all rights  to  this
  50.   program. Questions, comments or complaints can be sent  to  the above 
  51.   address, phone number or NetMailed to 1:228/2. 
  52.  
  53.   -------------------------Acknowledgments-----------------------------
  54.  
  55.       NewMail  - Copyright DataBOARD-][
  56.       Qmail    - Copyright.. Greg Dawson  
  57.       InterPCB - Copyright InterZone Software Inc.
  58.       PCBoard  - Registered trademark of Clark Development Company Inc.
  59.